package com.test.domain.es;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;

/***
 *
 * @Auther: MuYun
 * @Date: 2024/2/19 10:45
 * @Description：
 *
 */
@Data
@Document(indexName = "serverresource")
public class ServerResource {

    @Id
    private String id;

    private CpuInfo cpuInfo;

    private MemInfo memInfo;

    private ServerInfo serverInfo;

    private SwapInfo swapInfo;

    private Tasks tasks;

}
